package com.mt.mtbusinessmanagementsystem.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;

@Builder
@Repository
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class CustomerDTO {
    private Integer id;
    private String customerId;
    private Integer companyId;
    private String companyName;
    private String customerName;
    private String customerPosts;
    private Integer customerAge;
    private Integer customerGender;
    private String customerDept;
    private String customerPhone1;
    private String customerPhone2;
    private String customerEmail1;
    private String customerEmail2;
    private String customerEmail3;
    private Integer isCollaborators;
    private String customerWeb;
    private String customerProduct;
    private Double customerYearSale;
    private String customerPlan;
    private String customerBackground;
    private String collaborators;
    private String otherBackground;
    private String expectedBenefits;
    private String continent;
    private String country;
    private Integer companyPeopleNumber;
    private String customerSource;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateDate;
    private String employeeId;
    private String employeeName;
    private String createEmployeeId;
    private String createEmployeeName;
    private Integer pageNumber;
    private Integer pageSize;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;
}
